package com.yanqu.road.entity.enums.washe;

public enum eWasheVerificationConditionType {

    TapCount(1, "玩家点击选择优伶卡时的位置坐标，坐标相同次数+1"),
    SkillCount(2, "玩家在第一回合无移动前使用刷新技能的次数"),
    GameCount(3, "玩家进行对局的次数"),

    ;

    public static eWasheVerificationConditionType getType(int value) {
        for (eWasheVerificationConditionType type : eWasheVerificationConditionType.values()) {
            if (type.getValue() == value) {
                return type;
            }
        }
        return null;
    }

    private int value;
    private String desc;

    eWasheVerificationConditionType(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
